package com.gpframework.common.pay.leshua.service;

import lombok.extern.slf4j.Slf4j;

/**
 * @author eden
 * @date 2018/5/21 下午3:36
 * @desc
 */
@Slf4j
public class LeshuaConfigure {
    /**
     * 乐刷成功码
     **/
    public static String SUCCESS_CODE;
    /**
     * 交易key
     */
    public static String API_KEY = "37ED2EC795D34997BDA4740FC21CFF83";
    /**
     * 交易通知key
     */
    public static String API_NOTICE_KEY = "5313582EA05149A992CF32E7D29047E7";
    /** 交易key（测试） */
//	public static String API_KEY = "a1613a0e7cb9d3a51e33784ee4d212ac";

    /**
     * 乐刷支付请求url
     **/
    public static String JHZF_REQUEST_URL = "https://paygate.leshuazf.com/cgi-bin/lepos_pay_gateway.cgi";
    /**
     * 乐刷支付请求url（测试）
     **/
//	public static String JHZF_REQUEST_URL = "https://t-paygate.lepass.cn/cgi-bin/lepos_pay_gateway.cgi";

    public static String JHZF_REQUEST_TEST_URL;

	/*static{
		Properties prop = new Properties();
		InputStream in = LeshuaConfig.class.getResourceAsStream("/config.properties");
		try {
			prop.load(in);
			SUCCESS_CODE = prop.getProperty("SUCCESS_CODE").trim();
			JHZF_REQUEST_URL = prop.getProperty("JHZF_REQUEST_URL").trim();
			JHZF_REQUEST_TEST_URL = prop.getProperty("JHZF_REQUEST_TEST_URL").trim();
		} catch (IOException e) {
			log.error(e.getMessage());
		}
	}*/
}
